<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Book List</title>
</head>
<body>
<table>
    <thead>
    <td>ID:</td>
    <td>Book Name:</td>
    <td>Author:</td>
    <td>Price:</td>
    <td>Date:</td>
    </thead>
    <tbody>
    <tr th:each="book: ${bookList}">
        <td th:text="${book.getId()}"></td>
        <td th:text="${book.getBookName()}"></td>
        <td th:text="${book.getAuthor()}"></td>
        <td th:text="${book.getPrice()}"></td>
        <td th:text="${book.getPublicationDate()}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>
